package com.itheima.lamabd1why;

/**
 * @Author: Ethan Yankang
 * @Program: JAVA核心技术
 * @Date: 2024-08-10 13:44
 **/
public class FilterEmployeeByAge implements MyPredicate<Employee> {
    @Override
    public boolean filter(Employee employee) {
        return employee.getAge() >= 30;
    }

}
